﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Internal/Operations/OpMaster.Master"
    Theme="Internal" AutoEventWireup="true" CodeBehind="ChangeManagement.aspx.cs"
    Inherits="Landscape.WebApp.Internal.Operations.ChangeManagement" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <telerik:RadToolBar ID="rtbModuleActions" runat="server" Width="100%" EnableShadows="True"
        OnClientButtonClicked="rtbModuleActions_OnClientButtonClicked">
        <Items>
            <telerik:RadToolBarButton runat="server" CommandName="LIST" ImageUrl="~/Images/Search.png"
                Text="Search" CheckOnClick="True" ImagePosition="AboveText" Value="SEARCH">
            </telerik:RadToolBarButton>
            <telerik:RadToolBarButton runat="server" CommandName="DELETE" ImageUrl="~/Images/Delete_32x32.png"
                Text="Delete" CheckOnClick="True" ImagePosition="AboveText" Value="DELETE">
            </telerik:RadToolBarButton>
            <telerik:RadToolBarButton runat="server" IsSeparator="True" Text="Button 2">
            </telerik:RadToolBarButton>
            <telerik:RadToolBarButton runat="server" CheckOnClick="True" 
                CommandName="APPROVE" ImagePosition="AboveText" ImageUrl="~/Images/Release.png" 
                Text="Approve" ToolTip="Approve the change(s)"  Value="APPROVE">
            </telerik:RadToolBarButton>
            <telerik:RadToolBarButton runat="server" CheckOnClick="True" 
                CommandName="REJECT" ImagePosition="AboveText" ImageUrl="~/Images/Delete.png" 
                Text="Reject" ToolTip="Reject the change(s)"  Value="REJECT">
            </telerik:RadToolBarButton>
        </Items>
    </telerik:RadToolBar>
    <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1"
        SelectedIndex="0">
        <Tabs>
            <telerik:RadTab runat="server" Text="System Change Requests" PageViewID="SCR">
            </telerik:RadTab>
            <telerik:RadTab runat="server" Text="PMS Change Requests" PageViewID="PCR" 
                Selected="True">
            </telerik:RadTab>
        </Tabs>
    </telerik:RadTabStrip>
    <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0">
        <telerik:RadPageView ID="SCR" runat="server" Selected="true">
            <div class="ContentTabBody">
                <table>
                    <tr>
                        <td>
                            <table>
                                <tr>
                                    <td>
                                        <asp:Label ID="Label1" runat="server" Text="From Date :"></asp:Label>
                                    </td>
                                    <td>
                                        <telerik:RadDatePicker ID="RadDatePicker1" runat="server">
                                        </telerik:RadDatePicker>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label2" runat="server" Text="To Date :"></asp:Label>
                                    </td>
                                    <td>
                                        <telerik:RadDatePicker ID="RadDatePicker2" runat="server">
                                        </telerik:RadDatePicker>
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="CheckBox1" runat="server" Text="Show Pending Only" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" 
                                AutoGenerateColumns="False" CellSpacing="0" GridLines="None">
                                <MasterTableView>
                                    <CommandItemSettings ExportToPdfText="Export to PDF" />
                                    <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" 
                                        Visible="True">
                                        <HeaderStyle Width="20px" />
                                    </RowIndicatorColumn>
                                    <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" 
                                        Visible="True">
                                        <HeaderStyle Width="20px" />
                                    </ExpandCollapseColumn>
                                    <Columns>
                                        <telerik:GridClientSelectColumn FilterControlAltText="Filter column column" 
                                            HeaderText="#" UniqueName="column">
                                        </telerik:GridClientSelectColumn>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column1 column" 
                                            HeaderText="Equipment Name" UniqueName="column1">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column2 column" 
                                            HeaderText="Change Discription" UniqueName="column2">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column3 column" 
                                            HeaderText="Change Type" UniqueName="column3">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column4 column" 
                                            HeaderText="Actions" UniqueName="column4">
                                        </telerik:GridBoundColumn>
                                    </Columns>
                                    <EditFormSettings>
                                        <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                        </EditColumn>
                                    </EditFormSettings>
                                </MasterTableView>
                                <FilterMenu EnableImageSprites="False">
                                </FilterMenu>
                            </telerik:RadGrid>
                        </td>
                    </tr>
                </table>
            </div>
        </telerik:RadPageView>
        <telerik:RadPageView ID="PCR" runat="server" >
            <div class="ContentTabBody">
                <table>
                    <tr>
                        <td>
                            <table>
                                <tr>
                                    <td>
                                        <asp:Label ID="Label3" runat="server" Text="From Date :"></asp:Label>
                                    </td>
                                    <td>
                                        <telerik:RadDatePicker ID="RadDatePicker3" runat="server">
                                        </telerik:RadDatePicker>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label4" runat="server" Text="To Date :"></asp:Label>
                                    </td>
                                    <td>
                                        <telerik:RadDatePicker ID="RadDatePicker4" runat="server">
                                        </telerik:RadDatePicker>
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="CheckBox2" runat="server" Text="Show Pending Only" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <telerik:RadGrid ID="RadGrid2" runat="server" AllowPaging="True" 
                                AutoGenerateColumns="False" CellSpacing="0" GridLines="None">
                                <MasterTableView>
                                    <CommandItemSettings ExportToPdfText="Export to PDF" />
                                    <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" 
                                        Visible="True">
                                        <HeaderStyle Width="20px" />
                                    </RowIndicatorColumn>
                                    <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" 
                                        Visible="True">
                                        <HeaderStyle Width="20px" />
                                    </ExpandCollapseColumn>
                                    <Columns>
                                        <telerik:GridClientSelectColumn FilterControlAltText="Filter column column" 
                                            HeaderText="#" UniqueName="column">
                                        </telerik:GridClientSelectColumn>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column1 column" 
                                            HeaderText="Equipment Name" UniqueName="column1">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column2 column" 
                                            HeaderText="Job Title" UniqueName="column2">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column3 column" 
                                            HeaderText="Change Description" UniqueName="column3">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column4 column" 
                                            HeaderText="Periodicity" UniqueName="column4">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column5 column" 
                                            HeaderText="Is Critical" UniqueName="column5">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column7 column" 
                                            HeaderText="Change Type" UniqueName="column7">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column6 column" 
                                            HeaderText="Actions" UniqueName="column6">
                                        </telerik:GridBoundColumn>
                                    </Columns>
                                    <EditFormSettings>
                                        <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                        </EditColumn>
                                    </EditFormSettings>
                                </MasterTableView>
                                <FilterMenu EnableImageSprites="False">
                                </FilterMenu>
                            </telerik:RadGrid>
                        </td>
                    </tr>
                </table>
            </div>
        </telerik:RadPageView>
    </telerik:RadMultiPage>
    <script type="text/javascript">

        function rtbModuleActions_OnClientButtonClicked(sender, args) {

        }

        function OP_OnSystemSelect(sysCode) {
           // alert(sysCode);
        }

        function OP_OnVesselSelect(vslCode) {
           // alert(vslCode);
        }

    </script>
</asp:Content>
